package com.battle.pojo.vo.examStudyDetails;

import jakarta.persistence.Column;
import lombok.Data;
import com.battle.pojo.param.examStudyDetails.EditExamStudyDetailsParam;

import java.util.List;
import java.util.Map;

/**
* 【描 述】：获取用户考试详情管理
* 【环 境】：J2SE 17
* 【详 细】：
*
*/
@Data
public class GetExamStudyDetailsVo extends EditExamStudyDetailsParam{

    /**
     * 用户id
     */
    @Column()
    private Long userId;

    /**
     * 用户考试id
     */
    @Column()
    private Long examStudyId;

    /**
     * 试卷id
     */
    @Column()
    private Long examId;

    /**
     * 用户答案
     */
    @Column()
    private String userAnswer;

    /**
     * 是否正确
     */
    @Column()
    private Boolean isCorrect;

    /**
     * 考试状态：0未开始 1已完成
     */
    @Column(length = 255)
    private Integer status;

    /**
     * 题目选项
     */
    @Column()
    private Map<String,String> optionsJson;

    /**
     * 题目答案
     */
    @Column()
    private List<String> bankAnswerJson;
}